package com.fitbet.wechat.dao;

import com.demo2do.core.persistence.annotation.Dao;
import com.demo2do.core.persistence.annotation.Query;
import com.demo2do.core.persistence.annotation.Variable;
import com.fitbet.entity.user.User;
import com.fitbet.entity.user.Wallet;

@Dao("hibernate")
public interface WalletDao {
    
    /**
     * @author LZJ
     * @param user 
     * @return 
     */
    @Query("FROM Wallet WHERE user = :user")
    public Wallet loadWallet(@Variable("user") User user);
    

}
